<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>{$tpshop_config['shop_info_store_title']}</title>
<meta http-equiv="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
<meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />
<link rel="stylesheet" href="__STATIC__/css/article.css" type="text/css">
</head>
<body>
<include file="Public/header" />

    <div class="breadcrumb-area">  
<div class="layout">  
	<a href="/">首页</a> > {$article.title}
    </div>
</div>

<div class="layout" style="padding: 26px 0;">
	<div class="article_left">
		<if condition="$article_id eq 10">
		<div class="articbanner"><img src="{$article.thumb} " ></div>
		<else/>
		<div class="articbanner_other">{$article.title}</div>
		</if>
		<div class="article_content">{$article.content|htmlspecialchars_decode} 
		<if condition="$article_id eq 3">
		<div id="map_contact"></div>
		
	<div style="clear: both;"></div>
	<script src='http://maps.google.cn/maps/api/js?key=AIzaSyCdHpY5qaap0PeaMy-VJHJoVEo0s4rcZeE&language=en' type="text/javascript"></script>
	<script>
	var map;
	var array = [[22.341664,113.448884]];//经纬度
	var array1 = ["mattmatt"];
	var title = "";
	function initialize() {
		var i = 0;
		var k = 0;
		var myLatlng = new google.maps.LatLng(22.341064,113.448884); //初始定位
		var myOptions = {
			zoom :14, 
			center : myLatlng, //地图中心位置
			mapTypeId : google.maps.MapTypeId.ROADMAP, //常量ROADMAP以地图显示 常量SATELLITE为卫星显示
			disableDoubleClickZoom : true //禁用双击缩放地图
		};
		//把地图绑定在ID为map_canvas的DIV上
		map = new google.maps.Map(document.getElementById("map_contact"), myOptions);
		//循环将数据填充到一个新的marker对象中
		for (i = 0; i < array.length; i++) {
			var myLatlng = new google.maps.LatLng(array[i][k], array[i][k + 1]);//重新定位
			//显示信息
			openInfo = array1[i];
			//显示地址的标记图标
			var marker = new google.maps.Marker({
					position : myLatlng,
					map : map,
					icon : '__STATIC__/images/fatcow_027.png' //自定义标记图标
				});
			marker.setTitle(title);
			alertTitle(marker, openInfo);
		};
		//infowindow.open(map);   //加载时显示提示主窗口
		var infowindow;
		var infowindow2;
		//提示信息窗口
		function alertTitle(marker, openInfo) {
			//鼠标悬浮在标记上打开提示信息窗口
			google.maps.event.addListener(marker, 'mouseover', function (event) {
				infowindow2 = infowindow;
				infowindow = new google.maps.InfoWindow({
						content : openInfo,
						position : myLatlng
					});
				if (infowindow2 != null) {
					infowindow2.close();
				}
				infowindow.open(map, marker);
			});
		};
	}
	window.onload = initialize;
	</script>
</if>
		</div>
	</div>
<!--
	<script>
$(window).scroll(function () {

	var navH = $("#article_menu").offset().top;
	var scroH = $(this).scrollTop();
	if(scroH>550){
		$("#article_menu").css({"top":25});
	}else if(scroH < 550){
		$("##article_menu").css({"position":"static"});
	}
});
</script>
-->

	<div id="article_menu">
	<div class="fl mymallleft">
    <div class="li-hi-20" >
       
        <div class="fuy-xim pa-bo-20">
            <ul>
                <li>
                    <h3><span>mattmatt</span></h3>
                    <ol>
                       <tpshop sql="select * from `__PREFIX__article` where cat_id = 1 and is_open=1 order by sort asc,article_id desc" key="k2" item='v2'>
                        
                        <li id="order_list"><a href="{:U('Home/Article/detail',array('article_id'=>$v2[article_id]))}"><span <if condition="$v2[article_id] eq $article_id">style="color:#000;"</if>><i class="icon-radio-checked" <if condition="$v2[article_id] eq $article_id">style="margin-left:32px;"</if>></i>{$v2[$title]}</span></a></li>
					 	</tpshop>                
                    </ol>
                </li>
               
            </ul>
        </div>
    </div>
</div>

	</div>
</div>



<!--------footer-开始-------------->
<include file="Public/footer" />
<!--------footer-结束-------------->

</div>
</body>
</html>